<#include "macro_.ftl">
package ${packageCode}.${moduleMapperKey}.po;

<#list poMapper.fieldMapperMap?values as fieldMapper>
	<#if fieldMapper.typeCode == 'Date'>
import java.util.Date;

		<#break>
	</#if>
</#list>
<#list poMapper.fieldMapperMap?values as fieldMapper>
	<#if fieldMapper.pkName! != ''>
import org.springframework.data.annotation.Id;

		<#break>
	</#if>
</#list>

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <@defaultIfBlank str="${poMapper.remarks!}" defaultSt="${poMapper.code!}"/>
 * 
 * @author ${author!'yaoHT'}
 * 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ${poMapper.code} implements java.io.Serializable {
	/**
	 * 版本号
	 */
	private static final long serialVersionUID = ${serialVersionUID!'1'}L;
<#list poMapper.fieldMapperMap?values as fieldMapper>

	/**
    * <@defaultIfBlank str="${fieldMapper.remarks!}" defaultSt="${fieldMapper.code!}"/>
    */
<#if fieldMapper.pkName! != ''>
	@Id
</#if>
	private ${fieldMapper.typeCode!'String'} ${fieldMapper.code};
</#list>
}